package Fourpointone;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Scanner;

public class MySatrter {

	public static void main(String[] args) {

		MySatrter starter;
		Scanner sc = new Scanner(System.in);
		starter = new MySatrter(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				int n = sc.nextInt();
				String str = sc.next();
				for (int i = 0; i < n; i++) {
					System.out.println(str);
				}
				System.out.println(this.getClass().getName());
				System.out.println(Arrays.toString(this.getClass().getInterfaces()));
			}
		});
		// starter.start();
		// sc.close();
	}

}
